﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="updateCourseware.aspx.cs" Inherits="admin_updateCourseware" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>修改课件信息</title>
    <link href="../../css/body.css" rel="stylesheet" type="text/css" />
    <link href="../../css/table.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        body
        {
            text-align: center;
        }
        .main
        {
            text-align: left;
            width: 400px;
            margin-left:50px;
            margin-top:30px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
     <div class="main">
    <h3>课件ID:<asp:label ID="lb_Id" runat="server"></asp:label></h3>
        <table width="400px" class="tab"   style="text-align: left">
        
         <tr>
                <td width="100" rowspan="2">
                    课件：</td>
                <td width="300">
                    <asp:TextBox ID="tb_coursewareUrl" runat="server" Width="250px" readonly="true"></asp:TextBox>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="tb_coursewareUrl" ErrorMessage="*">*</asp:RequiredFieldValidator>
                </td>
            </tr>
       
            <tr> 
                <td width="300">
                    <asp:FileUpload ID="fud_courseware" runat="server" Width="190px" />
                    &nbsp;&nbsp;
                    <asp:Button ID="btn_uploadCourseware" runat="server" Text="上传" 
                        onclick="btn_uploadCourseware_Click" Width="50px" CausesValidation="False"/></td>
            </tr>
            <tr>
                <td width="100">
                    课件名称：</td>
                <td width="300">
                    <asp:TextBox ID="tb_coursewareName" runat="server" Width="250px"></asp:TextBox>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                        ControlToValidate="tb_coursewareName" ErrorMessage="*">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td width="100">
                    课件介绍：</td>
                <td width="300">
                    <asp:TextBox ID="tb_about" runat="server" Height="150px" Width="250px" TextMode="MultiLine"></asp:TextBox>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="tb_about" ErrorMessage="*">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td width="100">
                    所属课程：</td>
                <td width="300">
                    <asp:DropDownList ID="ddl_courseId" runat="server" >
                    </asp:DropDownList>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ControlToValidate="ddl_courseId" ErrorMessage="*">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td width="100" rowspan="2">
                    课件图片：</td>
                <td width="300">
                    <asp:TextBox ID="tb_picUrl" runat="server" Width="250px" readonly="true"></asp:TextBox>
                    <asp:Image runat="server" id="img_pic" Height="50" ></asp:Image>
                     <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                        ControlToValidate="tb_picUrl" ErrorMessage="*">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr> 
                <td width="300">
                    <asp:FileUpload ID="fud_pic" runat="server" Width="190px" />
                    &nbsp;&nbsp;
                    <asp:Button ID="btn_uploadPic" runat="server" Text="上传" 
                        onclick="btn_uploadPic_Click" Width="50px" CausesValidation="False"/></td>
            </tr>
          
            <tr>
                <td colspan="2">
                    <asp:Button ID="btn_ok" runat="server" onclick="btn_ok_Click" Text="修改" 
                        Width="60px" />
&nbsp;&nbsp;
                    <asp:Button ID="btn_res" runat="server" onclick="btn_res_Click" Text="重填" 
                        Width="60px" />
                    </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
